main {
  margin-bottom: 70px;
  .cart_top {
    background-color: #fff;
    border: 2px solid #f4f4f4;
    margin-bottom: 20px;
    h2 {
      margin: auto;
      width: 1200px;
      font-size: 32px;
      line-height: 80px;
      height: 80px;
      font-weight: normal;
      color: #333;
    }
  }

  // 空购物车
  .cart_empty {
    display: none;
    text-align: center;
    border: 1px solid #e6e6e6;
    padding: 60px 0;
    background-color: #fff;
    .icon_cart {
      background: url(../../img/detail_img/cart_sprite.png) no-repeat;
      width: 84px;
      height: 72px;
      margin: 0 auto;
    }
    .hinter {
      font-size: 14px;
      line-height: 14px;
      color: #999;
      margin-top: 40px;
    }
    .cart_btn {
      margin-top: 20px;
      text-align: center;
      a {
        margin-right: 5px;
        font-size: 12px;
        display: inline-block;
        width: 88px;
        height: 28px;
        line-height: 28px;
        border: 1px solid #c8c8c8;
        margin-left: 5px;
      }
    }
  }

  // 购物车
  .cart_body {
    font-size: 12px;
    .cart_title_wrap {
      border: 1px solid #e9e9e9;
      background-color: #fafafa;
      height: 40px;
      line-height: 40px;
      color: #aaa;
      display: flex;
      li {
        flex: 1;
      }
      .cart_product {
        flex: 2.2;
      }
      .cart_operation {
        flex: 0.6;
      }
      .cart_choose {
        width: 144px;
        padding-left: 20px;
        display: flex;
        align-items: center;
      }
    }

    //购物车清单
    .cart_list {
      margin-top: 10px;
      font-size: 12px;
      border: 1px solid #ccc;
      color: #333;
      .item_title {
        background-color: #fafafa;
        height: 40px;
        line-height: 40px;
        padding-left: 20px;
        .icon_shop {
          background: url(../../img/detail_img/cart_sprite.png) no-repeat 0 -74px;
          display: inline-block;
          height: 16px;
          width: 16px;
          top: 4px;
          vertical-align: text-top;
        }
      }
      .cart_item {
        background-color: #fff;
        border-top: 1px solid #ccc;
        color: #333;
        line-height: 18px;
        .item_detail {
          padding: 20px 0;
          display: flex;
          align-items: center;
          border-bottom: 1px solid #ccc;

          .cart_choose {
            width: 144px;
            padding-left: 20px;
            display: flex;
            align-items: center;
            img {
              width: 78px;
              height: 78px;
              margin-left: 20px;
              border: 1px solid #eee;
            }
          }
          .cart_product {
            flex: 2.2;
            a {
              display: block;
              width: 225px;
            }
          }
          .cart_sku {
            flex: 1;
          }
          .cart_price {
            flex: 1;

            .price {
              font-size: 14px;
              font-weight: bolder;
            }
            .tag_active {
              color: #f60;
              text-align: center;
              width: 50px;
              font-size: 12px;
              line-height: 20px;
              height: 20px;
              padding: 0 6px;
              cursor: pointer;
              border: 1px solid #f60;
              border-radius: 2px;
              margin-top: 6px;
            }
          }
          .cart_num {
            flex: 1;
            // align-items: center;
            .num_change {
              display: flex;
              span {
                display: block;
                overflow: hidden;
                width: 28px;
                height: 28px;
                line-height: 28px;
                border: 1px solid #d6d6d6;
                text-align: center;
                font-size: 20px;
                color: #999;
              }
              .num {
                width: 40px;
                height: 26px;
                line-height: 26px;
                border: 1px solid #d6d6d6;
                background: #fff;
                border-left: 0;
                border-right: 0;
                text-align: center;
              }
            }
            .stock_quota {
              width: 122px;
              margin-left: -30px;
              text-align: center;
              color: #d69256;
              padding-top: 2px;
            }
          }
          .cart_total {
            margin-bottom: 20px;
            flex: 1;
            color: #f60;
            font-weight: bolder;
            font-size: 14px;
          }
          .item_delete {
            margin-bottom: 20px;
            flex: 0.6;
            font-size: 20px;
            cursor: pointer;
          }
        }
      }
    }

    .cart_bottom {
      margin-top: 10px;
      height: 60px;
      padding-left: 10px;
      background-color: #fafafa;
      border: 1px solid #e9e9e9;
      display: flex;
      justify-content: space-between;
      .cart_sum_left {
        display: flex;
        align-items: center;
        .all_delete {
          margin-left: 40px;
          cursor: pointer;
        }
        .cart_cart_choose {
          display: flex;
          align-items: center;
          span {
            display: block;
            line-height: 40px;
            margin-left: 10px;
          }
        }
      }
      .cart_sum_right {
        display: flex;
        align-items: center;
        p {
          margin-right: 40px;
          span {
            padding: 0 3px;
            color: #f60;
          }
        }
        .cart_sum_price{
         .total_price{
          color: #f60;
          font-size: 18px;
          line-height: 18px;
          font-weight: bolder;
          margin-right: 40px;
         }
        }
        .cart_sum_to_order{
          width: 160px;
          text-align: center;
          font-size: 18px;
          line-height: 60px;
          background-color: #f60;
          color: #fff;
          cursor: pointer;
        }
      }
    }
  }
  .pay_bg{
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3,3,3,0.3);
    .pay_box{   
      width: 600px;
      height: 400px ;
      background-color: #fff;
      margin:auto ;
      margin-top: 200px;
      text-align: center;
      overflow: hidden;
      span{
        position: relative;
        font-size: 25px;
        font-weight: bolder;
        color: burlywood;
        display: block;
        padding: 0 10px;
        float: right;
      }
      p{
        margin-top: 20px;
        font-size: 30px;
        color: #f60;
        text-align: center;
        
      }
      img{
        width: 300px;
      }
    }
  }
}

